from selenium import webdriver
# pip3 install --user selenium

# driver = webdriver.Edge(executable_path="D:\\dirvers\\msedgedriver.exe")
# driver = webdriver.Chrome(executable_path="D:\\dirvers\\chromedriver.exe")
driver = webdriver.Firefox(executable_path="D:\\dirvers\\geckodriver.exe")
# driver = webdriver.Firefox(executable_path="/home/lixl/Downloads/geckodriver")

driver.get("https://www.baidu.com/")

